/*
 * Copyright (c) ShaoxiongDu <Shaoxiong.dev@aliyun.com> 2021 all Rights Reserved
 */

package zh.codegym.task.task07.task0706;

import java.util.Scanner;

/* 
街道和房屋
*/

public class Solution {
    public static void main(String[] args) throws Exception {
        //在此编写你的代码
        Scanner scanner = new Scanner(System.in);
        int[] array = new int[15];
        int evenCount = 0, oddCount = 0;
        for (int i = 0; i < 15; i++) {
            array[i] = scanner.nextInt();
            if (i == 0 || i % 2 == 0) {
                evenCount += array[i];
            } else {
                oddCount += array[i];
            }
        }
        if (evenCount > oddCount) {
            System.out.println("居住在门牌号为偶数的房屋的居民更多。");
        } else {
            System.out.println("居住在门牌号为奇数的房屋的居民更多。");
        }
    }
}
